package com.inossem.warehousestorage_inossem.bean.storage;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2017/7/23 0023.
 */

public class StorageManageMatrCommitBean extends Bean {


    /**
     * code : 200
     * msg : 公共响应信息
     * data : {"materielList":[{"materielCode":"WLBM001","sendPosition":"A01","batchCode":"pc001","receivePositionList":[{"receivePosition":"A02","number":"20"}]},{"materielCode":"WLBM001","sendPosition":"A01","batchCode":"pc001","receivePositionList":[{"receivePosition":"A02","number":"20"}]}]}
     */

    private String code;
    private String msg;
    private DataBean data = new DataBean();



    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<MaterielListBean> materielList = new ArrayList<MaterielListBean>();

        public List<MaterielListBean> getMaterielList() {
            return materielList;
        }

        public void setMaterielList(List<MaterielListBean> materielList) {
            this.materielList = materielList;
        }

        public static class MaterielListBean {
            /**
             * materielCode : WLBM001
             * sendPosition : A01
             * batchCode : pc001
             * receivePositionList : [{"receivePosition":"A02","number":"20"}]
             */
            private String lqnum;
            private String materielCode;
            private String sendPosition;
            private String batchCode;
            private List<ReceivePositionListBean> receivePositionList = new ArrayList<ReceivePositionListBean>();

            public String getLqnum() {
                return lqnum;
            }

            public void setLqnum(String lqnum) {
                this.lqnum = lqnum;
            }

            public String getMaterielCode() {
                return materielCode;
            }

            public void setMaterielCode(String materielCode) {
                this.materielCode = materielCode;
            }

            public String getSendPosition() {
                return sendPosition;
            }

            public void setSendPosition(String sendPosition) {
                this.sendPosition = sendPosition;
            }

            public String getBatchCode() {
                return batchCode;
            }

            public void setBatchCode(String batchCode) {
                this.batchCode = batchCode;
            }

            public List<ReceivePositionListBean> getReceivePositionList() {
                return receivePositionList;
            }

            public void setReceivePositionList(List<ReceivePositionListBean> receivePositionList) {
                this.receivePositionList = receivePositionList;
            }

            public static class ReceivePositionListBean {
                /**
                 * receivePosition : A02
                 * number : 20
                 */

                private String receivePosition;
                private String number;

                public String getReceivePosition() {
                    return receivePosition;
                }

                public void setReceivePosition(String receivePosition) {
                    this.receivePosition = receivePosition;
                }

                public String getNumber() {
                    return number;
                }

                public void setNumber(String number) {
                    this.number = number;
                }
            }
        }
    }
}
